body {
    height: 2000px;
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 tahoma,"Lucida Grando", Verdana,"Microsoft Yahei" STXihei,hei;
    color: #000;
    overflow-x: hidden;
    background: #fafafc;
    -webkit-tap-highlight-color: transparent;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
div {
    box-sizing: border-box;
}
/*搜索模块*/
.search-index {
    display: flex;
    /*固定定位跟父级没有关系，它以屏幕为准*/
    position: fixed;
    top: 0;
    left: 50%;
    /*固定的盒子要有宽度*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 44px;
}
.search {
    flex: 1;
    height: 30px;
    border: 1px solid #ccc;
    margin: 7px 10px;
    margin-right: -4px;
    border-radius: 13px;
    font-size: 13px;
    padding-left: 35px;
    line-height: 26px;
    color: #666;
    background-color: #fff;
}
.search::after {
    position: absolute;
    top: 5px;
    left: 11px;
    content: "";
    display: block;
    width: 36px;
    height: 28px;
    background: url(../images/sprite.png) no-repeat 15px 7px;
    background-size: 21px auto;
   
}
.user {
    width: 51px;
    height: 44px;
    text-align: center;
    color: #fff;
    font-size: 12px;
}
.user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat 1px -36px;
    background-size: 22px auto;
    margin: 4px auto 0;
}
.foucs img {
    width: 100%;
}
/*局部导航栏*/
.local-nav {
    display: flex;
    height: 64px;
    margin: 3px 4px;
    border-radius: 8px;
    background-color: #fff;
}
.local-nav li {
    flex: 1;
}
.local-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
    font-size: 14px;
    margin-top: 3px;
}
.local-nav-icon {
    width: 40px;
    height: 40px;
    background: url(../images/sprite1.png) no-repeat;
    background-size: 40px auto;
}
.local-nav-icon_1 {
    width: 40px;
    height: 40px;
    background:  url(../images/sprite1.png) no-repeat 0 -40px;
    background-size: 40px auto;
}
.local-nav-icon_2 {
    width: 40px;
    height: 40px;
    background:  url(../images/sprite1.png) no-repeat 0 -80px;
    background-size: 40px auto;
}
.local-nav-icon_3 {
    width: 40px;
    height: 40px;
    background:  url(../images/sprite1.png) no-repeat 0 -120px;
    background-size: 40px auto;
}
.local-nav-icon_4 {
    width: 40px;
    height: 40px;
    background:  url(../images/sprite1.png) no-repeat 0 -160px;
    background-size: 40px auto;
}
/*nav模块*/
nav {
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}
.nav-common {
    display: flex;
    height: 88px;
    background-color: pink;
}
.nav-common:nth-child(2) {
    margin: 3px 0;
}
.nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}
.nav-items a {
    flex: 1;
    line-height: 44px;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px rgba(0,0,0,0.2);
}
.nav-items a:nth-child(1) {
    border-bottom: 1px solid #fff;
}
.nav-items:nth-child(1) {
    background: url(../images/jiudian.png) no-repeat bottom center;
    background-size: 121px auto;
}
.nav-common:nth-child(2) .nav-items:nth-child(1) {
    background: url(../images/feiji.png) no-repeat bottom center;
    background-size: 121px auto;
}
.nav-common:nth-child(3) .nav-items:nth-child(1) {
    background: url(../images/lvyou.png) no-repeat bottom center;
    background-size: 121px auto;
}
.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, #fa5a55,#fa994d);
}
.nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4b90ed ,#53bced);
}
.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left ,#34c2a9, #6cd559);
}
/*subnav-entry*/
.subnav-entry {
    display: flex;
    border-radius: 8px;
    margin: 0 4px;
    background: #fff;
    flex-wrap: wrap;
}
.subnav-entry li {
    flex: 20%;
}
.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #666;
}
a [class^="subnav-entry-icon"] {
    width: 28px;
    height: 28px;
    background-size: 28px;
}
.subnav-entry-icon-1 {
    background: url(../images/subnav.png) no-repeat;
}
.subnav-entry-icon-2 {
    background: url(../images/subnav.png) no-repeat 0 -28px;
}
.subnav-entry-icon-3 {
    background: url(../images/subnav.png) no-repeat 0 -56px;
}
.subnav-entry-icon-4 {
    background: url(../images/subnav.png) no-repeat 0 -84px;
}
.subnav-entry-icon-5 {
    background: url(../images/subnav.png) no-repeat 0 -112px;
}
.subnav-entry-icon-6 {
    background: url(../images/subnav.png) no-repeat 0 -140px;
}
.subnav-entry-icon-7 {
    background: url(../images/subnav.png) no-repeat 0 -168px;
}
.subnav-entry-icon-8 {
    background: url(../images/subnav.png) no-repeat 0 -196px;
}
.subnav-entry-icon-9 {
    background: url(../images/subnav.png) no-repeat 0 -224px;
}
.subnav-entry-icon-10 {
    background: url(../images/subnav.png) no-repeat 0 -252px;
}
/*end*/
.end {
    display: flex;
    margin: 5px 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid  #ccc;
}
.end a{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    font-size: 12px;
    color: #666;
}
a [class^="end-icon"] {
    width: 20px;
    height: 20px;
    background: purple;
}
/*footer*/
.footer {
    width: 100%;
    height: 90px;
}
.footer-1 {
    margin-top: 10px;
    text-align: center;
}
.footer-1 a {
    position: relative;
    padding: 0 10px;
    color: #666;
    font-size: 14px;
}
.footer-1 a:nth-child(2) {
    padding: 0 30px;
    padding-left: 5px;
}
.footer-1 a:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 19px;
    height: 7px;
    width: 7px;
    border-right: 1px solid #666;
    border-bottom: 1px solid #666;
    transform: rotate(45deg);
}
.footer a:nth-child(-n+2) {
    border-right: 1px solid #666;
}
.footer-1 p {
    margin: 5px 0;
    color: #666;
    font-size: 10px;
}